#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import csv
import random

alfabet='asbndsfgrg'
cnt=0
while cnt<100:
  cnt+=1
  nook = 1
  i=random.randint(1, 5)
  current=alfabet[i]
  previous=alfabet[i-1]

  while nook > 0:
    x = raw_input(" \n" + current + " \n")
    while x == "":
      print ("Nic nie wpisales")
      x = raw_input(current + " \n")
    if x == previous:
      nook = 0
      print ("Poprawnie")
    else:
      nook = 1
      print ("Zle !!!")
